.class public final Lcom/ninesky/browser/readinglist/j;
.super Landroid/widget/LinearLayout;


# instance fields
.field protected a:I

.field private final b:Z

.field private c:Landroid/widget/TextView;

.field private d:Landroid/widget/TextView;

.field private e:Landroid/widget/Button;

.field private f:Ljava/lang/String;

.field private g:Landroid/content/Context;

.field private h:I

.field private i:Landroid/view/LayoutInflater;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 2

    invoke-direct {p0, p1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/ninesky/browser/readinglist/j;->b:Z

    iput-object p1, p0, Lcom/ninesky/browser/readinglist/j;->g:Landroid/content/Context;

    iget-object v0, p0, Lcom/ninesky/browser/readinglist/j;->g:Landroid/content/Context;

    invoke-static {v0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    iput-object v0, p0, Lcom/ninesky/browser/readinglist/j;->i:Landroid/view/LayoutInflater;

    iget-object v0, p0, Lcom/ninesky/browser/readinglist/j;->i:Landroid/view/LayoutInflater;

    const v1, 0x7f03001b

    invoke-virtual {v0, v1, p0}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    const v0, 0x7f0c0049

    invoke-virtual {p0, v0}, Lcom/ninesky/browser/readinglist/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/ninesky/browser/readinglist/j;->c:Landroid/widget/TextView;

    const v0, 0x7f0c004a

    invoke-virtual {p0, v0}, Lcom/ninesky/browser/readinglist/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/ninesky/browser/readinglist/j;->d:Landroid/widget/TextView;

    const v0, 0x7f0c004b

    invoke-virtual {p0, v0}, Lcom/ninesky/browser/readinglist/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/ninesky/browser/readinglist/j;->e:Landroid/widget/Button;

    iget-object v0, p0, Lcom/ninesky/browser/readinglist/j;->e:Landroid/widget/Button;

    new-instance v1, Lcom/ninesky/browser/readinglist/b;

    invoke-direct {v1, p0}, Lcom/ninesky/browser/readinglist/b;-><init>(Lcom/ninesky/browser/readinglist/j;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method static synthetic a(Lcom/ninesky/browser/readinglist/j;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/readinglist/j;->g:Landroid/content/Context;

    return-object v0
.end method


# virtual methods
.method public final a()V
    .locals 2

    const/4 v1, 0x1

    iget-object v0, p0, Lcom/ninesky/browser/readinglist/j;->c:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getPaint()Landroid/text/TextPaint;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/text/TextPaint;->setFakeBoldText(Z)V

    iget-object v0, p0, Lcom/ninesky/browser/readinglist/j;->c:Landroid/widget/TextView;

    invoke-static {v1}, Landroid/graphics/Typeface;->defaultFromStyle(I)Landroid/graphics/Typeface;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTypeface(Landroid/graphics/Typeface;)V

    return-void
.end method

.method public final a(I)V
    .locals 0

    iput p1, p0, Lcom/ninesky/browser/readinglist/j;->h:I

    return-void
.end method

.method public final a(Ljava/lang/String;)V
    .locals 2

    if-nez p1, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/readinglist/j;->c:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/ninesky/browser/readinglist/j;->f:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    iget-object v0, p0, Lcom/ninesky/browser/readinglist/j;->c:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method

.method public final b()V
    .locals 2

    iget-object v0, p0, Lcom/ninesky/browser/readinglist/j;->c:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getPaint()Landroid/text/TextPaint;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/text/TextPaint;->setFakeBoldText(Z)V

    iget-object v0, p0, Lcom/ninesky/browser/readinglist/j;->c:Landroid/widget/TextView;

    sget-object v1, Landroid/graphics/Typeface;->DEFAULT:Landroid/graphics/Typeface;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTypeface(Landroid/graphics/Typeface;)V

    return-void
.end method

.method public final b(Ljava/lang/String;)V
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/readinglist/j;->d:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method

.method public final c()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/readinglist/j;->f:Ljava/lang/String;

    return-object v0
.end method

.method public final c(Ljava/lang/String;)V
    .locals 0

    if-nez p1, :cond_0

    :goto_0
    return-void

    :cond_0
    iput-object p1, p0, Lcom/ninesky/browser/readinglist/j;->f:Ljava/lang/String;

    goto :goto_0
.end method

.method public final getId()I
    .locals 1

    iget v0, p0, Lcom/ninesky/browser/readinglist/j;->a:I

    return v0
.end method

.method public final setId(I)V
    .locals 0

    iput p1, p0, Lcom/ninesky/browser/readinglist/j;->a:I

    return-void
.end method
